- Posts: 213
- Thank you received: 38
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
{TOKEN:VALIDFROM} / {TOKEN:VALIDUNTIL}
- ritapas
- Topic Author
- Offline
- Elite Member
Less
More
2 months 1 week ago - 2 months 1 week ago #256143
by ritapas
{TOKEN:VALIDFROM} / {TOKEN:VALIDUNTIL} was created by ritapas
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.x-LTS
Own server or LimeSurvey hosting: OWN
Survey theme/template: n/a
==================
Hello,
the manual ( link ) mentions the possibility to use the ={VALIDFROM} or {VALIDUNTIL} or {USESLEFT} variables in a closed survey invitation.
Indeed, those names are not valid in my environment, not in such version nor in the "{TOKEN:VALIDFROM} " version.
Is that a feature which has been added to a more recent version than 3.x-LTS?
Kind regards.
Rita
Your LimeSurvey version: 3.x-LTS
Own server or LimeSurvey hosting: OWN
Survey theme/template: n/a
==================
Hello,
the manual ( link ) mentions the possibility to use the ={VALIDFROM} or {VALIDUNTIL} or {USESLEFT} variables in a closed survey invitation.
Indeed, those names are not valid in my environment, not in such version nor in the "{TOKEN:VALIDFROM} " version.
Is that a feature which has been added to a more recent version than 3.x-LTS?
Kind regards.
Rita
Last edit: 2 months 1 week ago by ritapas. Reason: added link
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
2 months 1 week ago #256158
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic {TOKEN:VALIDFROM} / {TOKEN:VALIDUNTIL}
Both formats work for me in invitation mails in version 3.28.57.
Can you attach a copy of the email template?
Can you attach a copy of the email template?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: ritapas
Please Log in to join the conversation.
- ritapas
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 213
- Thank you received: 38
2 months 1 week ago #256180
by ritapas
Replied by ritapas on topic {TOKEN:VALIDFROM} / {TOKEN:VALIDUNTIL}
Hi,
thank you for your kind reply.
Indeed, our version is still 3.23.5. We plan to switch to LS5 as soon as possible.
However, I made another try and I found out that, though I'd been distracted by the "Validate Expressions", the email message actually contains the desired values.
This is a bit odd but anyway it works.
For reference, this is the HTML mail template text:
I enclose a screenshot from "Validate Expressions".
thank you for your kind reply.
Indeed, our version is still 3.23.5. We plan to switch to LS5 as soon as possible.
However, I made another try and I found out that, though I'd been distracted by the "Validate Expressions", the email message actually contains the desired values.
This is a bit odd but anyway it works.
For reference, this is the HTML mail template text:
Code:
<html> <head> <title></title> </head> <body> <p>Dear {FIRSTNAME},<br /><br />you have been invited to participate in a survey.<br /><br />The survey is titled:<br />"{SURVEYNAME}"<br /><br />"{SURVEYDESCRIPTION}"</p> <p>Token is valid from {VALIDFROM} until {VALIDUNTIL}</p> <p>Uses left: {USESLEFT}</p> <p><br /><br />To participate, please click on the link below.<br /><br />Sincerely,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Click here to do the survey:<br />{SURVEYURL}<br /><br />If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br />{OPTOUTURL}<br /><br />If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:<br />{OPTINURL}</p> </body> </html>
I enclose a screenshot from "Validate Expressions".
Attachments:
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
2 months 1 week ago #256194
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic {TOKEN:VALIDFROM} / {TOKEN:VALIDUNTIL}
Fixed in last 3.X version if i remind.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: ritapas
Please Log in to join the conversation.